//package com.example.vae.Dao;
//
//import android.content.Context;
//
//import androidx.room.Database;
//import androidx.room.Room;
//import androidx.room.RoomDatabase;
//
//import com.example.myapplication.pojo.Person;
//
//
//@Database(entities = {Person.class},version = 1,exportSchema = false)
//public abstract class PersonDatabase extends RoomDatabase {
//    private  static  PersonDatabase INSTANCE;
//    public static synchronized PersonDatabase getDatabase(Context context){
//        if(INSTANCE==null){
//            INSTANCE= Room.databaseBuilder(context.getApplicationContext(),PersonDatabase.class,"person_database").build();
//        }
//        return INSTANCE;
//    }
//    public abstract PersonDao getpersonDao();
//}
